{php $no_left=true;}
{if IS_MX_SHOP_SYSTEM}
{template '_header'}
{else}
{template '_header_base'}
{/if}



<div class="panel panel-default" style="width:600px;margin:100px auto;padding:20px">


    <div class="panel-body">

		<div class="row">
			<div class="col-sm-2">
				{if $type=='error'}
                <i class='icon icon-infofill' style="font-size:72px;color:#f90"></i>
                {elseif $type=='success'}
                <i class='icon icon-roundcheckfill ' style="font-size:72px;color:#04be02"></i>
                {else}
                <i class='icon icon-infofill ' style="font-size:72px;color:#ccc"></i>
                {/if}
			</div>

			<div class="col-sm-10">

				<div class="row" style="font-size:14px;padding-top:25px;padding-left:10px;word-break: break-all">
					{$message}
				</div>
				 
			</div>
		</div>
		
		<div class="row">
			 
			<div class="col-sm-10 pull-right text-right">

				 
				<div class="row" style="border-top:1px solid #f8f8f8;padding-top:10px;padding-left:10px">
					{if $redirect}
					<p><a href="{$redirect}" class='btn btn-default'>如果你的浏览器没有自动跳转，请点击此链接</a></p>
					<script type="text/javascript">
						setTimeout(function () {
							location.href = "{$redirect}";
						}, 2000);
					</script>
					{else}
						<a href='javascript:history.back()' class='btn btn-default' style="width: 100px;">{if empty($buttontext)}确认{else}{$buttontext}{/if}</a>
					{/if}
					
					
				</div>

			</div>
		</div>
		
	</div>
</div>


{template '_footer'}